package flower.domain;

public class Flower {
    private int id;//编号
    private String name;//鲜花名称
    private String salesNum;//销售数量
    private double price;//价格
    private String salesDate; //销售日期
    private String salesperson;// 销售员
    private String note;//备注
    //满参构造
    public Flower(int id, String name, String salesNum, double price,
                  String salesDate, String salesperson, String note) {
        this.id = id;
        this.name = name;
        this.salesNum = salesNum;
        this.price = price;
        this.salesDate = salesDate;
        this.salesperson = salesperson;
        this.note = note;
    }
    //无参构造
    public Flower(){}
    //get and set
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSalesNum() {
        return salesNum;
    }

    public void setSalesNum(String salesNum) {
        this.salesNum = salesNum;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getSalesDate() {
        return salesDate;
    }

    public void setSalesDate(String salesDate) {
        this.salesDate = salesDate;
    }

    public String getSalesperson() {
        return salesperson;
    }

    public void setSalesperson(String salesperson) {
        this.salesperson = salesperson;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
